package com.dm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.dm.query.QueryCompanyInfo;
import com.dm.entity.CompanyInfoDO;
@Mapper
public interface CompanyInfoDAO {

	public CompanyInfoDO selectCompanyInfoByCompanyId(Long companyId);

	public List< CompanyInfoDO > selectCompanyInfoList(QueryCompanyInfo queryCompanyInfo);

	public Integer countCompanyInfoList(QueryCompanyInfo queryCompanyInfo);

	public int insertCompanyInfo(CompanyInfoDO companyInfoDO);

	public int updateCompanyInfoByCompanyId(CompanyInfoDO companyInfoDO);
	
	public List<String> selectDistinctList(QueryCompanyInfo queryCompanyInfo);

	public void deleteCompanyInfoByCompanyId(CompanyInfoDO companyInfoDO);

}

